package com.aboat.runner;

import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * 服务启动加载数据
 *
 * @author xyj
 * @email clear_windy@yeah.net
 * @create 2017-01-02 21:17
 */
@Component
@Order(value=1)
public class MyStartupRunner implements CommandLineRunner {
    @Override
    public void run(String... args) throws Exception {
        System.out.println(">>>>>>>>>>>>>>>服务启动执行，执行加载数据操作<<<<<<<<<<<<<");
    }
}
